package com.chensh.gmall.user.controller;

import com.chensh.gmall.user.service.UmsMemberService;
import com.chensh.gmall.user.vo.UmsMemberVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
public class UserController {

    @Autowired
    private UmsMemberService umsMemberService;




    @PostMapping("/user/getuserList")
    @ResponseBody
    public List<UmsMemberVO>  qryUmsMemberList(){
        return umsMemberService.qryUmsMembersList();
    }



}
